﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200123B RID: 4667
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartTrackPhotoStageCsReq : IMessage<StartTrackPhotoStageCsReq>, IMessage, IEquatable<StartTrackPhotoStageCsReq>, IDeepCloneable<StartTrackPhotoStageCsReq>, IBufferMessage
	{
		// Token: 0x17003B36 RID: 15158
		// (get) Token: 0x0600D163 RID: 53603 RVA: 0x00234601 File Offset: 0x00232801
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartTrackPhotoStageCsReq> Parser
		{
			get
			{
				return StartTrackPhotoStageCsReq._parser;
			}
		}

		// Token: 0x17003B37 RID: 15159
		// (get) Token: 0x0600D164 RID: 53604 RVA: 0x00234608 File Offset: 0x00232808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartTrackPhotoStageCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003B38 RID: 15160
		// (get) Token: 0x0600D165 RID: 53605 RVA: 0x0023461A File Offset: 0x0023281A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartTrackPhotoStageCsReq.Descriptor;
			}
		}

		// Token: 0x0600D166 RID: 53606 RVA: 0x00234621 File Offset: 0x00232821
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartTrackPhotoStageCsReq()
		{
		}

		// Token: 0x0600D167 RID: 53607 RVA: 0x00234629 File Offset: 0x00232829
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartTrackPhotoStageCsReq(StartTrackPhotoStageCsReq other) : this()
		{
			this.eMEGKOEPOOH_ = other.eMEGKOEPOOH_;
			this.stageId_ = other.stageId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D168 RID: 53608 RVA: 0x0023465A File Offset: 0x0023285A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartTrackPhotoStageCsReq Clone()
		{
			return new StartTrackPhotoStageCsReq(this);
		}

		// Token: 0x17003B39 RID: 15161
		// (get) Token: 0x0600D169 RID: 53609 RVA: 0x00234662 File Offset: 0x00232862
		// (set) Token: 0x0600D16A RID: 53610 RVA: 0x0023466A File Offset: 0x0023286A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool EMEGKOEPOOH
		{
			get
			{
				return this.eMEGKOEPOOH_;
			}
			set
			{
				this.eMEGKOEPOOH_ = value;
			}
		}

		// Token: 0x17003B3A RID: 15162
		// (get) Token: 0x0600D16B RID: 53611 RVA: 0x00234673 File Offset: 0x00232873
		// (set) Token: 0x0600D16C RID: 53612 RVA: 0x0023467B File Offset: 0x0023287B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x0600D16D RID: 53613 RVA: 0x00234684 File Offset: 0x00232884
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartTrackPhotoStageCsReq);
		}

		// Token: 0x0600D16E RID: 53614 RVA: 0x00234692 File Offset: 0x00232892
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartTrackPhotoStageCsReq other)
		{
			return other != null && (other == this || (this.EMEGKOEPOOH == other.EMEGKOEPOOH && this.StageId == other.StageId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D16F RID: 53615 RVA: 0x002346D0 File Offset: 0x002328D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EMEGKOEPOOH)
			{
				num ^= this.EMEGKOEPOOH.GetHashCode();
			}
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D170 RID: 53616 RVA: 0x00234728 File Offset: 0x00232928
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D171 RID: 53617 RVA: 0x00234730 File Offset: 0x00232930
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D172 RID: 53618 RVA: 0x0023473C File Offset: 0x0023293C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EMEGKOEPOOH)
			{
				output.WriteRawTag(56);
				output.WriteBool(this.EMEGKOEPOOH);
			}
			if (this.StageId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.StageId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D173 RID: 53619 RVA: 0x00234798 File Offset: 0x00232998
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EMEGKOEPOOH)
			{
				num += 2;
			}
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D174 RID: 53620 RVA: 0x002347E4 File Offset: 0x002329E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartTrackPhotoStageCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EMEGKOEPOOH)
			{
				this.EMEGKOEPOOH = other.EMEGKOEPOOH;
			}
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D175 RID: 53621 RVA: 0x00234834 File Offset: 0x00232A34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D176 RID: 53622 RVA: 0x00234840 File Offset: 0x00232A40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.StageId = input.ReadUInt32();
					}
				}
				else
				{
					this.EMEGKOEPOOH = input.ReadBool();
				}
			}
		}

		// Token: 0x040053F5 RID: 21493
		private static readonly MessageParser<StartTrackPhotoStageCsReq> _parser = new MessageParser<StartTrackPhotoStageCsReq>(() => new StartTrackPhotoStageCsReq());

		// Token: 0x040053F6 RID: 21494
		private UnknownFieldSet _unknownFields;

		// Token: 0x040053F7 RID: 21495
		public const int EMEGKOEPOOHFieldNumber = 7;

		// Token: 0x040053F8 RID: 21496
		private bool eMEGKOEPOOH_;

		// Token: 0x040053F9 RID: 21497
		public const int StageIdFieldNumber = 11;

		// Token: 0x040053FA RID: 21498
		private uint stageId_;
	}
}
